package com.sqx.modules.health.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sqx.modules.health.entity.Record;
import com.sqx.modules.health.entity.Recordset;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author gxy
 * @since 2022-07-14
 */
public interface RecordMapper extends BaseMapper<Record> {

    Record getOneByDevSn(String devSN, Integer type);

    Record getLastTest(Long uid);

    Record getRecord(Long id, String today, Integer type);

    Recordset getLast(String imei);

    Record getLastRecord(String imei);

}
